home *** CD-ROM | disk | FTP | other *** search
/ PC Graphics Unleashed / PC Graphics Unleashed.iso / xb / tiff.h < prev    next >
C/C++ Source or Header  |  1994-07-27  |  2KB  |  46 lines

  1. /*................................. TIFF.H ................ 7-28-94 .........*/
  2. /* This file declares the TIFFLB library functions and global parameters    */
  3. /* used throughout the graphics routines (Version 3.0).                     */
  4. /*                                                                          */
  5. /*       Copyright Spyro Gumas, 1992 - 1994.  All Rights Reserved.          */
  6. /*..........................................................................*/
  7.  
  8. /*.... The next line is for compatibility with older versions of TIFF256 ...*/
  9. #define tf_display_image tf_display_ifd
  10.  
  11. /*..........................................................................*/
  12. /*                          Function Prototypes                             */
  13. /*..........................................................................*/
  14. extern void far cdecl tf_set_true_color_mode(int, int, int);
  15. extern void far cdecl tf_get_true_color_mode(int far *, int far *, int far *);
  16. extern int  far cdecl tf_open_file(char far *);
  17. extern void far cdecl tf_close_file(void);
  18. extern int  far cdecl tf_get_file_info(void);
  19. extern int  far cdecl tf_skip_ifd(unsigned);
  20. extern void far cdecl tf_set_defaults(void);
  21. extern int  far cdecl tf_read_ifd(void);
  22. extern int  far cdecl tf_display_ifd(unsigned,unsigned);
  23. extern int  far cdecl tf_save_file(unsigned,unsigned,unsigned,unsigned,
  24.                                                                      char far *);
  25. extern long far cdecl tf_image_size(void);
  26. extern int  far cdecl tf_load_image(unsigned char huge*,unsigned char far*);
  27. extern int  far cdecl tf_save_image(unsigned char huge*,unsigned char far*,
  28.                                                                         char far *);
  29. extern void far cdecl tf_set_prime_colors(void);
  30. extern void far cdecl tf_about( void );
  31.  
  32. /*..........................................................................*/
  33. /*                          Parameter Declarations                          */
  34. /*..........................................................................*/
  35.  
  36. extern unsigned char far TF_Byte_Buf[4096];
  37. extern unsigned long TF_ImageWidth, TF_ImageLength;
  38. extern unsigned far TF_BitsPerSample[3],TF_Num_Ifd;
  39. extern unsigned TF_ResolutionUnit,TF_SamplesPerPixel;
  40. extern unsigned TF_PhotometricInterpretation;
  41. extern unsigned long TF_XResolution_int,TF_XResolution_frac;
  42. extern unsigned long TF_YResolution_int,TF_YResolution_frac;
  43. extern unsigned TF_Black,TF_Red,TF_Orange,TF_Yellow,TF_Green;
  44. extern unsigned TF_Aqua,TF_Blue,TF_Violet,TF_White;
  45.  
  46.